 <div id="profile-menu-tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
      <ul id="bayon-company-tab" class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" >
          <li id="tabs-1" class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#bayon-tabs-1" ><?php __('Profile') ?></a></li>
          <li id="tabs-2" class="ui-state-default ui-corner-top"><a href="#bayon-tabs-2"><?php __('Favorits') ?></a></li>
          <li id="tabs-3" class="ui-state-default ui-corner-top"><a href="#bayon-tabs-3" ><?php __('Companies') ?></a></li>
    </ul>

<?php
 if($currentUser){
 ?>
     <div class="ui-tabs-panel ui-widget-content ui-corner-bottom">

 	<div class="message_notice" id="message_notice">
	 <?php echo $this->Bnotice->displayNotice($notices, true)?>
            <div id="paginator">


                    <?php
			echo $paginator->prev(' Previous ', null, null, array('class' => 'disabled'));
			echo '|';
			echo $paginator->next(' Next ', null, null, array('class' => 'disabled'));
                    ?>
                    <?php echo $paginator->counter(); ?>

            </div>
	</div>

 </div>
 <?php
 }elseif($existUser){
?>
 <div class="ui-tabs-panel ui-widget-content ui-corner-bottom">

<?php
 	if($this->Bayon->isLogging())
 		echo $this->Follow->following( $following, $friend_id );
 	?>
 	<div class="message_notice" id="message_notice">

            <?php echo $this->Bnotice->displayNotice($notices, true)?>

		<div id="paginator">
                    <?php
                          echo $paginator->prev(' Previous ', null, null, array('class' => 'disabled'));
                          echo '|';
                          echo $paginator->next(' Next ', null, null, array('class' => 'disabled'));
                    ?>
                    <?php echo $paginator->counter(); ?>
            </div>
	</div>

 </div>
 <?php

 }else{
 	echo 'No exist';
 }
?>
 </div>
<script type="text/javascript">
     //<![CDATA[
     $(document).ready(function(){
                $("ul > li.notice").bind('mouseover', function(){
                    var actionId ='#ul_' + $(this).attr('id');
                    $(actionId).addClass('actions-active');
                });
                $("ul > li.notice").bind('mouseout', function(){
                    var actionId ='#ul_' + $(this).attr('id');
                    $(actionId).removeClass('actions-active');
                });

         });
    //]]>
</script>
